/* 点击高亮我们需要清除 设置为transparent 完成透明 */
*{
    -webkit-tap-highlight-color: transparent;
}

input:focus {
    outline: none; /* 去掉默认的外边框阴影 */
  }
/* 禁用长按页面时弹出的菜单 */
img,a{
    -webkit-touch-callout: none;
}
*{
    margin: 0;
    padding: 0;
}
body{
    min-width: 320px;
    max-width: 414px;
    margin: 0 auto;
    background-color: #e5e1e1;
    font-size: 14px;
    line-height: 1.5;
    font-family: -apple-system,Helvetica,sans-serif;

}

/* 头部开始 */
header{
    
    color: #ffffff;
    width: 100%;
    height: 84px;
    background-color: #00c19e;
}
header .iot_title{
    height: 40px;
    float: left;
    padding: 2px 0 0 10px;
    width: 29%;
    font-weight:bold;
    font-size: 25px;
    font-family: 'Courier New', Courier, monospace;
}
header .iot_title::after{
       position: absolute;
       content: "";
       width: 1px;
       height: 20px;
       margin: 8px 10px 0 10px;
       background-color: #eae5e5;
}
header .iot_title2{
    width: 60%;
    float: right;
    height: 40px;
    padding: 8px;
    font-size: 16px;
}
.iot_search{
    position: relative;
    top: 45px;
    left: 0;
    width: 100%;
    height: 44px;
}
.iot_search span {
    position: absolute;
    left: 34px;
    top: 7px;
    font-size: 20px;
    font-weight: lighter;
}


.iot_search input{
    position: absolute;
    left: 20px;
    color: white;
    top: 2px;
    width: 90%;
    height: 30px;
    padding: 0 20px 0 60px;
    border-radius: 15px;
    border: none;
    opacity: 0.5;
}
/* 头部结束 */

/* 轮播图部分开始 */
.iot_img{
    position: relative;
     width: 100%;
     height: 160px;
}
.iot_img ul{
    width: 100%;
    height: auto;
}
.iot_img ul li{
    position: absolute;
    width: 100%;
    height: 100%;
}
.iot_img img{
    width: 100%;
    height: 160px;
}
.iot_img li {
    opacity: 0;
    transition: opacity .5s linear;
}
.iot_img li.active{
    opacity: 1;
}
/* 轮播图部分结束 */

/* 导航部分开始 */
nav{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 210px;
}
nav div{
     width: 20%;
     height: 40px;
     display: flex;
}
nav div a{
    text-decoration: none;
    color: rgb(85, 85, 83);
    padding: 0 20px 0;
}
nav div a img{
      width: 45px;
      height: 45px;
      justify-content: center;
      align-items: center;
}

nav div a span{
    font-size: 12px;
    display: block;
    text-align: center;
}
/* 导航部分结束 */

/* 分类部分开始 */
.iot_classification{
    width: 100%;
    height: 270px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.iot_classification_all{
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
    width: 46%;
    height: 46%;
    margin: 2px;
    background-color: #ffffff;
    border-radius: 5px;

}
.iot_classification_text{
    text-align: center;
    vertical-align: middle;
    width: 100%;
    height: 30%;
}
.iot_classification_img{
    display: flex;
    width: 100%;
    height: 70%;
}
.iot_classification_img a{
    box-sizing: border-box;
    padding: 5px;
}
.iot_classification_img a img{
    width: 100%;
    height: 100%;
}

/* 分类部分结束 */
/* 猜你喜欢开始 */
.iot_guess_like{
    float: left;
    display: flex;
    flex-wrap: wrap;
    width: 100%;


}
.iot_guess_like_title p{
    margin-bottom: 20px;
    text-align: center;
    width: 100%;
    height: 20px;
    font-size: larger;
    font-weight: bolder;
}
.iot_guess_like div{
    background-color: white;
    margin: 4px;
    width: 48%;
    height: 250px;
    box-sizing: border-box;
    border-radius: 10%;
    display: flex;
    flex-wrap: wrap;
}

.iot_guess_like div div{
    width: 100%;
    height: 70%;
    box-sizing: border-box;
    display: flex;
    border: none;
}
.iot_guess_like div div a img{
    width: 90%;
    height: 90%;
    margin: auto;
    padding: 10px 0 0 10px;
}
.iot_guess_like div p{
    padding: 5px 0 0 5px;
    font-size: 14px;
    display: block;
    width: 100%;
    height: 20px;
    color: rgb(52, 50, 50);
    overflow: hidden;
}
.iot_guess_like div span{
    color: rgb(174, 22, 22);
    font-size: 15px;
    padding-left: 10px;
    margin-bottom: 20px;
    text-align: left;
    display: block;
    width: 100%;
    height: 10px;
}
/* 猜你喜欢结束 */


/* 底部部分开始 */
 footer{
    max-width: 414px;
    position: fixed;
    display: flex;
    bottom: 0;
    width: 100%;
    height: 56px;
    background-color: #ffffff;
    border-radius: 10px;
    z-index: 999;
 }
 footer div{
    
    width: 25%;
    height: 100%;
    box-sizing: border-box;
 }
 footer div a {
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    display: flex;
    text-align: center;
    text-decoration: none;
    color: black;
 }
 footer div a span{
    display: block;
    width: 100%;
    font-size: 16px;
 }
 footer div a img{
    width: 30px;
    height: 30px;
 }